home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / pwl521q.zip / QUESTION.DOC < prev    next >
Text File  |  1992-11-15  |  11KB  |  218 lines

  1.  
  2.              ====== COMMON QUESTIONS BY ProWindows(tm) USERS ======
  3.  
  4.          ------------------------------------------------------------------
  5.  
  6.          QUESTION: When using the graphical mouse cursor, the mouse cursor
  7.                    in the QB or QBX editor looks funny.  And when appearing
  8.                    over some characters, there is a single pixel line at
  9.                    the right of the mouse cursor.  Why?
  10.  
  11.          ANSWER:   1. To display the graphical mouse cursor, the mouse
  12.                    driver is tricked into thinking it is in a graphics
  13.                    mode.  Since the ProWindows(tm) code that keeps the
  14.                    mouse working right is not active when the program is
  15.                    not running, the mouse acts strange.
  16.  
  17.                    For this reason, we recommend that you do not use the
  18.                    graphics mouse cursor during program development.  When
  19.                    you are ready to create the EXE file, then insert the
  20.                    graphics mouse module.
  21.  
  22.                    2.  Because of the way VGA cards operate, some
  23.                    characters are 8 pixels wide and some are 9 pixels wide.
  24.                    The mouse driver can't handle both.  The only time you
  25.                    will see this line is when the cursor is over characters
  26.                    in the range of ASCII 176-178.  THIS IS INHERENT TO VGA
  27.                    CARDS ONLY AND DOES NOT AFFECT EGA CARDS.
  28.  
  29.                    When your program is finished running, you should call
  30.                    the function ResetVideo() to re-map the characters to
  31.                    thier original state.
  32.  
  33.          ------------------------------------------------------------------
  34.  
  35.          QUESTION: Why does my program quit and print a "REGISTRATION
  36.                    ENCOURAGEMENT" error message?
  37.  
  38.          ANSWER:   Then the version you have is our ShareWare version.  The
  39.                    ShareWare version works just like the registered version
  40.                    with the exception that you must call the Notice()
  41.                    routine within 60 seconds of calling the InitPro()
  42.                    routine.
  43.  
  44.                    The Notice() routine displays a message reminding you of
  45.                    your obligation to register and pay for your copy if you
  46.                    decide to use it on a regular basis.
  47.  
  48.          NOTE:     When you register, we will send you a disk that does not
  49.                    require the use of the Notice() routine.  Because of
  50.                    this, the library is smaller and generates smaller EXE
  51.                    files.
  52.  
  53.          ------------------------------------------------------------------
  54.  
  55.          QUESTION: When I try to run my program in the BASIC environment, I
  56.                    get a "SUBPROGRAM NOT DEFINED" message.  Why?
  57.  
  58.          ANSWER:   In order to use an external (non BASIC) function, you
  59.                    must load them into BASIC.  This is done from the
  60.                    command line by entering (for our demos) :
  61.  
  62.                         QB /AH /L lite.qlb          (for QuickBASIC)
  63.                         QBX /AH /EA /L lite.qlb     (for BASIC PDS 7)
  64.  
  65.                    To be sure that you do not pass invalid parameters to a
  66.                    function, you must include the appropriate INCLUDE (.BI)
  67.                    file(s) in your BASIC source code.  To use ProWindows
  68.                    LITE functions, you would use:
  69.  
  70.                         REM $INCLUDE : 'lite.bi'
  71.  
  72.                    If it still does not work, go to the "Set Paths" under
  73.                    the "Options" menu in the QB.EXE (or QBX.EXE) and make
  74.                    sure that the "Include Path" points to the drive and
  75.                    directory where the ProWindows (.BI) files are.
  76.  
  77.          ------------------------------------------------------------------
  78.  
  79.          QUESTION: My programs are getting larger and i'm quickly running
  80.                    out of memory.  What do I do?
  81.  
  82.          ANSWER:   ProWindows(tm) by default uses normal DOS memory to
  83.                    allocate it's video buffer.  This can easily consume up
  84.                    to 64K of memory.
  85.  
  86.                    FEAR NOT!  "WMM.EXE" may be the solution.  The external
  87.                    "Window Memory Manager" attempts to convert other memory
  88.                    resources into video buffer memory.  WMM.EXE can convert
  89.                    expanded (EMS) or extended (XMS).  When used with
  90.                    "LOADHIGH" (DOS 5), "LOADHI" (QEMM), or similar utility,
  91.                    "upper memory" can also be converted.  This utility is
  92.                    included FREE with ProWindows(tm).
  93.  
  94.          SEE ALSO  WMM.DOC
  95.  
  96.          ------------------------------------------------------------------
  97.  
  98.          QUESTION: Why does the mouse cursor disappear when I print text to
  99.                    a window or the screen?
  100.  
  101.          ANSWER:   Unlike BASIC's built-in PRINT statements (which use BIOS
  102.                    calls, ProWindows print statements (which write directly
  103.                    to video RAM) are not aware of the mouse.  When printing
  104.                    text to a window, you should disable the mouse cursor,
  105.                    print the text, and then re-enable it.  Try:
  106.  
  107.                         MouseCursorOff
  108.  
  109.                         ' text printing function
  110.  
  111.                         MouseCursorOn
  112.  
  113.          ------------------------------------------------------------------
  114.  
  115.          QUESTION: Is it true that you met Elvis during the time you were
  116.                    being held captive by group of aliens from the planet
  117.                    Kaplutis?
  118.  
  119.          ANSWER:   No, he was just an impersonator.
  120.  
  121.          ------------------------------------------------------------------
  122.  
  123.          QUESTION: What do I do when LINK.EXE tells me I have "TOO MANY
  124.                    SEGMENTS"?
  125.  
  126.          ANSWER:   Cry.  Just kidding!  LINK defaults to 128 segments.  The
  127.                    following example shows you how to increase the segments
  128.                    to 256 (but you can use higher or lower numbers):
  129.  
  130.                         LINK /SE:256
  131.  
  132.          ------------------------------------------------------------------
  133.  
  134.          QUESTION: What can I do to make my EXE files smaller?
  135.  
  136.          ANSWER:   The size of an EXE file is not necessarily related to
  137.                    how much memory the program will use.  A good portion of
  138.                    the EXE file contains the "header" and "relocation
  139.                    table".  The parts are NOT part of the program  and are
  140.                    NOT loaded.  They are just there to tell DOS how to load
  141.                    the program.
  142.  
  143.                    When compiling from DOS, be sure to specify the '/EX'
  144.                    command when using LINK.EXE.  This reduces the file size
  145.                    by about 30%.
  146.  
  147.                    When you register your copy of ProWindows(tm), we will
  148.                    include a free copy of two programs that will further
  149.                    reduce the size of an EXE file by about 50% (average).
  150.  
  151.                    We are constantly making our libraries smaller and
  152.                    smaller.  As a registered user, you are entitled to FREE
  153.                    updates of the latest libraries (does not include major
  154.                    upgrades).  In the last 2 months, we have made changes
  155.                    that have netted a 35% reduction in the size of
  156.                    ProWindows(tm) programs.  We are not stopping there.
  157.  
  158.          ------------------------------------------------------------------
  159.  
  160.          QUESTION: What is "Video Recycling"?
  161.  
  162.          ANSWER:   To maintain its high speed performance when manipulating
  163.                    windows, the Window Manager requires about 8K of memory
  164.                    as a "scratch pad".  In standard mode, this memory is
  165.                    allocated out of the VirMem%() array and conventional
  166.                    memory.
  167.  
  168.                    With all the memory demands placed on the system by the
  169.                    BASIC IDE and your programs, you want to limit the size
  170.                    of your arrays by as much as possible.  This is the
  171.                    purpose of the VideoRecycle() routine.  It forces the
  172.                    Window Manager to use the unused memory of your
  173.                    CGA/EGA/VGA cards and frees up about 24K of memory.
  174.  
  175.                    Now you can reduce the size of the VirMem%() array and
  176.                    still maintain a large number of windows.
  177.  
  178.                    Please note that you should only use this routine during
  179.                    program development.  When creating a stand-alone EXE
  180.                    file, you should remove the command and increase the
  181.                    size of the VirMem%() array (typically to 32000).
  182.  
  183.          ------------------------------------------------------------------
  184.  
  185.          QUESTION: I just can't seem to get anything to work.  What am I
  186.                    doing wrong?
  187.  
  188.          ANSWER:   For every complex problem, there is probably an easy
  189.                    solution.  If you get stuck, follow the next four steps:
  190.  
  191.                         1).  Do not get mad or upset.
  192.                         2).  Take a couple of deep long breaths and relax.
  193.                         3).  Carefully read the file called "SUPPORT.DOC".
  194.                         4).  Contact DSE Technical Support in the manner
  195.                              easiest for you.  Remember: There is no such
  196.                              thing as a "dumb question".
  197.  
  198.          ------------------------------------------------------------------
  199.  
  200.          QUESTION: Two cars are on a collision course on the Interstate.
  201.                    Cars "A" and "B" are maintaining a constant of speed of
  202.                    65 mph and 45 mph, respectively.
  203.  
  204.                    When the two cars are exactly 110 miles apart, a lonely
  205.                    bored fly (on a caffeine binge) starts flying from car
  206.                    "A" to car "B" at a steady speed of 92 mph.  When the
  207.                    fly reaches car "B" he zips around and heads back
  208.                    towards car "A".  He keeps going from car to car until
  209.                    both cars collide.
  210.  
  211.                    How many miles did the fly travel before getting
  212.                    squashed between the two colliding cars?
  213.  
  214.          ANSWER:
  215.  
  216.          ------------------------------------------------------------------
  217.  
  218.